package com.cutie.entry.service;

import java.sql.SQLException;
import java.util.List;

import com.cutie.entry.dao.EntryDictionaryDao;
import com.cutie.entry.model.EntryDictionary;

public class EntryDictionaryService {

	EntryDictionaryDao entryDictionaryDao;
	
	public EntryDictionaryService(){
		entryDictionaryDao = new EntryDictionaryDao();
	}
	
	public List<EntryDictionary> findEntriesByEntryName(String entryName) throws SQLException{
		return entryDictionaryDao.getEntries(entryName);
	}
}
